package com.truongnha.clienttn.data.dao;

import android.database.sqlite.SQLiteDatabase;
import android.util.Log;

public class ClassScheme {
	public static final String TABLE_NAME = "Class";
	public static final String ID = "id";
	public static final String NAME = "name";
	public static final String TEACHER = "teacher";
	public static final String CLASS_ID = "user_name";

	private static final String DATABASE_CREATE = "create table " + TABLE_NAME
			+ "(" + ID + " integer primary key  ," + NAME + " text," + TEACHER
			+ " text, " + CLASS_ID + " integer  " + ");";

	public static void onCreate(SQLiteDatabase db) {
		Log.i("LOG", "on Create account table");
		db.execSQL(DATABASE_CREATE);
	}
}
